<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>付款</title>
    <link rel="stylesheet" type="text/css" href="/Public/home/css/payment.css">
    <link rel="stylesheet" type="text/css" href="/Public/home/css/css.css">
</head>
<div id="qq">
    <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=244103592&site=qq&menu=yes">
        <img border="0" src="/Public/home/imeags/qq.png" alt="点击这里给我发消息" title="点击这里给我发消息"/>
    </a>
</div>

<body>
<div id="cont">
    <div id="head">
    <a href="/index.php/Home"><img id="logo" src="/Public/home/imeags/logo.png"></a>
    <div id="login">
        <ul>
            <li class="login"><img src="/Public/home/imeags/my.png"><a href="
                    <?php
 $a = session('member'); if($a[0]['username'] == ''|| $a[0]['username'] == null) { echo '/index.php/Home/Login/login'; }else{ echo '/index.php/Home/Personal/personal'; } ?>">
                <?php
 $a = session('member'); if($a[0]['username'] == ''|| $a[0]['username'] == null) { echo '登录'; }else{ echo $a[0]['username']; } ?>
            </a></li>
            <li><img src="/Public/home/imeags/cart.png"><a href="/index.php/Home/Cart/cart">购物车</a></li>
        </ul>
    </div>
</div>
    <div id="main">
        <h2 id="am">确认订单信息</h2>
        <div id="goods">
            <div id="header">
                <div id="td-1">商品</div>
                <div id="td-2">单价</div>
                <div id="td-3">数量</div>
                <div id="td-4">小计</div>
            </div>
            <div id="column">
                <?php if(is_array($good_es)): $i = 0; $__LIST__ = $good_es;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div id="comm">
                        <a href="/index.php/Home/Details/details/id/<?php echo ($vo["id"]); ?>"><img class="thum" src="<?php echo ($vo["goods_pic"]); ?>"></a>
                        <a href="/index.php/Home/Details/details/id/<?php echo ($vo["id"]); ?>">
                            <div id="til"><?php echo ($vo["goods_title"]); ?></div>
                        </a>
                    </div>
                    <div id="price"><?php echo ($vo["goods_price"]); ?>.00</div>
                    <div id="amount">
                        <a class="jian" href="#none">-</a><input class="num" onkeyup="value=value.replace(/[^\d]/g,'')"
                                                                 value="1" type="text" name=""><a class="jia"
                                                                                                  href="#none">+</a>
                    </div>
                    <div id="sub" class="pri"><?php echo ($vo["goods_price"]); ?>.00</div><?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </div>
        <div id="submit">
            <div id="submit-money">
                <span id="submit-money-til">实付款：</span>
                <span id="submit-money-bq">￥</span>
                <span id="submit-money-money" class="pri"><?php echo ($vo["goods_price"]); ?>.00</span>
                <input type="hidden" value="<?php echo ($vo["goods_price"]); ?>" id="prices"/>
            </div>
            <div id="submit-site">
                <span id="submit-site-til">寄送地址：</span>
                <span id="submit-site-site"><?php $a = session('member'); echo $a[0]['site']?></span>
            </div>
        </div>
        </volist>
        <script src="/Public/home/js/jquery-1.11.0.min.js" type="text/javascript"></script>
        <script src="/Public/home/js/numadd.js"></script>
        <div id="submit-a">
            <a class="go-btn" title="提交订单" href="">提交订单</a>
        </div>
        <hr>
        <?php if(is_array($good)): $i = 0; $__LIST__ = $good;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="show">
                <h2><a href="/index.php/Home/Details/details/id/<?php echo ($vo["id"]); ?>"><?php echo ($vo["goods_title"]); ?></a></h2>
                <a href="/index.php/Home/Details/details/id/<?php echo ($vo["id"]); ?>"><img src="<?php echo ($vo["goods_pic"]); ?>"></a>
                <p>价格：￥<?php echo ($vo["goods_price"]); ?>元</p>
            </div><?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
<div id="link">
    <h2>友情链接区域</h2>
    <ul>
        <?php if(is_array($links)): $i = 0; $__LIST__ = $links;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><a href="<?php echo ($vo["url"]); ?>"><?php echo ($vo["title"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
</div>
</div>
<div id="footer">
    <img src="/Public/home/imeags/footer.png">
    <p id="bq">©2004-2017 Koninklijke Philips N.V.版权所有。</p>
    <p id="icp">沪ICP备09062110号 沪公网安备31010602001824号</p>
</div>
</div>
</body>
</html>